#pragma once

#include "MyArray.h"


template <class T>
class Sort
{
protected:
	//MyArray<T> m_Arr;
	
	// ham hoan doi
	template <class T>
	void Swap(T element1, T element2)
	{
		T temp = element1;
		element1 = element2;
		element2 = temp;
	};

public:
	Sort(void);
	~Sort(void);

	// Ham sap xep mang
	virtual bool MakeStepUpSort(MyArray<T> arr);	// sap xep tang
	virtual bool MakeStepDownSort(MyArray<T> arr);	// sap xep giam
};

